package kr.hkit.info.powerjava.ch12.plg;

public abstract class Shape {

	protected int x;
	protected int y;
	private Movable move;
	
	
	public Shape() {
		int pt=(int) Math.random()*100;
		x= pt;
		y=pt;
	}
	public abstract void draw();
	public void moveXY(int x , int y){
		move.Move(x, y);
	}

	public void setMove(Movable move) {
		this.move = move;
	}
	
	
}
